﻿using System;

namespace test1
{
    class Program
    {
        static void Main(string[] args)
        {
            Context context;

            Console.WriteLine("==============刚到吴国拆一个==================");
            context = new Context(new BackDoor()); // 拿到妙计
            context.operate();

            Console.WriteLine("==============刘备拆开第二个==================");
            context = new Context(new GivenGreenLight()); // 拿到妙计
            context.operate();

            Console.WriteLine("==============追兵拆开第三个==================");
            context = new Context(new BlockEnemy()); // 拿到妙计
            context.operate();
            Console.WriteLine("================================");
            Console.WriteLine("Hello World!");
            while (true) ;
        }
    }
}

